package com.bingbaihanji;

import io.quarkus.runtime.Quarkus;
import io.quarkus.runtime.QuarkusApplication;
import io.quarkus.runtime.annotations.QuarkusMain;


/**
 * @author 冰白寒祭
 * @date 2024-04-08 18:20:54
 * @description //TODO
 */

@QuarkusMain
public class Application {
    public static void main(String... args) {
        long pid = ProcessHandle.current().pid();


        System.out.println("当前线程id为" + pid);
        Quarkus.run(App.class, args);
    }
    public static class App implements QuarkusApplication {
        @Override
        public int run(String... args) throws Exception {
            Quarkus.waitForExit();
            return 0;
        }
    }
}
